#pragma once
#include "Engine.h"
#include "Player.h"

Image BG("./Data/Gui/pattern.bmp");
Player PChar("./Data/Character/pl.bmp");

int main(int argc, char *args[])
{
	Initialize();
	SetWindowTitle("The Game, Tech-Demo rel. 4");

	while(E_RUN)
	{
		BG.Draw(0,0);
		PChar.Draw();
		Update();

		PChar.HandleControls();
		GetSystemEvent();
		SDL_Delay(TimeLeft() + 4);
	}
	return 0;
}